﻿using Newtonsoft.Json;
using Queer.Data.BaseEntity;
using Queer.Util.Helper;
using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace Queer.AutoJob.Core.Entity
{
    /// <summary>
    /// 创 建：admin
    /// 日 期：2021-04-01 09:29
    /// 描 述：定时任务日志实体类
    /// </summary>

    [Table("SysAutoJobLog")]
    public partial class AutoJobLogEntity : DefaultEntity
    {
        /// <summary>
        /// 
        /// </summary>
        [JsonConverter(typeof(DateTimeJsonConverter))]
        public DateTime? BaseCreateTime { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [JsonConverter(typeof(StringJsonConverter))]
        public long? BaseCreatorId { get; set; }
        /// <summary>
        /// 任务组名称
        /// </summary>
        public string JobGroupName { get; set; }
        /// <summary>
        /// 任务名称
        /// </summary>
        public string JobName { get; set; }
        /// <summary>
        /// 执行状态(0失败 1成功)
        /// </summary>
        public int? LogStatus { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

    }
}